package cglib;


import net.sf.cglib.proxy.Enhancer;

public class Test {
    public static void main(String[] args) {
        CglibProxy proxy = new CglibProxy();
        Enhancer enhancer = new Enhancer();


        UserServicempl userServicempl = (UserServicempl) enhancer.create();
        userServicempl.callName("老王");
    }
}
